package pri.zxx.excelgenerate.dataentity.tabledata;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Range;
import pri.zxx.excelgenerate.dataentity.entity.ExcelData;

import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class RangeVo extends ExcelData {

	@Schema(name =  "开始体重")
	@Range(min = 20, max = 140, message = "开始体重 仅支持[20,140]区间的整数")
	private BigDecimal initialBwforaa;

	@Schema(name =  "结束体重")
	private BigDecimal finalBwforaa;

	@Schema(name =  "期望预估的日期区间-结束日期")
	private Integer finalDayinput;

	@Schema(name =  "期望预估的日期区间-开始日期")
	private Integer initialDayinput;
}
